package test.spring.aop;

import my.spring.aop.advice.BeforeAdvice;
import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author fengbo
 * @date 2018/6/25
 */
public class MyMethodBeforeAdvice implements MethodBeforeAdvice, BeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println(target + "::::" + method);
    }
}
